import Vue from 'vue'
import App from './App'
import router from './router'
import 'normalize.css/normalize.css' // 初始化css
import ElementUI from 'element-ui' // UI库
import 'element-ui/lib/theme-chalk/index.css' // UI库
import locale from 'element-ui/lib/locale/lang/zh-CN' // lang i18n
// import store from './store'
import '@/icons' // icon
import '@/icons/iconfont/iconfont.css'
import '@/styles/index.styl'
import store from './store'
import 'normalize.css/normalize.css' // 初始化css
import 'animate.css/animate.min.css' // 动画
import '@/permission' // 权限 control
Vue.config.productionTip = false
Vue.use(ElementUI, {
  locale
})
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  render: h => h(App)
  // components: { App },
  // template: '<App/>'
})
